import Nanobot, Game, Grid, pygame, sys, os, copy #@UnresolvedImport

def main():
    size = 50
    omnigrid = Grid.Grid(size, True)
    omnigrid.gridrepr = Game.readFile("task03.txt", omnigrid)
    nanogrid = (omnigrid)
    for i in range(0, size):
        for j in range(0, size):
            nanogrid.gridrepr[i][j].viewed = False
    for object in nanogrid.objects:
        if isinstance(object,Nanobot.Nanobot):
            object.board = nanogrid
    Game.GameGUI(omnigrid).testStart()

if __name__=="__main__":
    main()